﻿using NewModel.Shared.Annotations.ReSharper;
using NewModel.UnitTests._Infrastructure_;

using NUnit.Framework;

namespace NewModel.UnitTests
{
    /*
     


     * A
     
     */
	[TestFixture]
	public sealed class TestInfrastructure
	{
		// NOTE! Unless there are actual unit tests in your tests assembly this is not going to work!
		[UsedImplicitly /* by Unit Tests */]
		static InfrastructureModule GetTypesToTest()
		{
			return InfrastructureModule.FromTypes<TestInfrastructure>();
		}

		[Test]
		[TestCaseSource("GetTypesToTest")]
		public void Check(IInfrastructureType type)
		{
			type.Check();
		}
	}
}